﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace M_Quality.Domain.Dto
{
    public class ReDto
    {
        /// <summary>
        /// 原料质检ID
        /// </summary>
        public int RawMaterialQualityId { get; set; }
        /// <summary>
        /// 质检编号
        /// </summary>
        public string? QualityNumber { get; set; }
        /// <summary>
        /// 质检名称
        /// </summary>
        public string? QualityName { get; set; }
        /// <summary>
        /// 质检日期
        /// </summary>
        public DateTime? QualityTime { get; set; }
        /// <summary>
        /// 质检人
        /// </summary>
        public string? Qualityer { get; set; }
        /// <summary>
        /// 供应商
        /// </summary>
        public string? Supplier { get; set; }
        /// <summary>
        /// 原料编号
        /// </summary>
        public string? MaterialNumber { get; set; }
        /// <summary>
        /// 原料名称
        /// </summary>
        public string? MaterialName { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string? Unit { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string? SpecificationsModel { get; set; }
        /// <summary>
        /// 原料批次号
        /// </summary>
        public string? batchNumber { get; set; }
        /// <summary>
        /// 尺寸
        /// </summary>
        public string? Size { get; set; }
        /// <summary>
        /// 合格量
        /// </summary>
        public int? AcceptanceQuantity { get; set; }

        /// <summary>
        /// 不合格量
        /// </summary>
        public int? UnqualifiedQuantity { get; set; }
        
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
       
        /// <summary>
        /// 复检ID
        /// </summary>
        [Key]
        public int ReinspectionId { get; set; }
        /// <summary>
        /// 复检编号
        /// </summary>
        public string? ReinspectionCode { get; set; }
        /// <summary>
        /// 复检名称
        /// </summary>
        public string? ReinspectionName { get; set; }
        /// <summary>
        /// 复检数量
        /// </summary>
        public int? ReinspectionNumber { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? ReinspectionNote { get; set; }
       
        /// <summary>
        /// 合格状态
        /// </summary>
        public string? HeGeSarte { get; set; }
        /// <summary>
        /// 复检日期
        /// </summary>
        public DateTime? ReinspectionTime { get; set; }
        /// <summary>
        /// 复检人
        /// </summary>
        public string? ReName { get; set; }
       

    }
}
